<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/2/21 0021
 * Time: 21:41
 */
$client = new swoole_client(SWOOLE_SOCK_UDP);
$client->sendto('127.0.0.1',9800,'我是udp客户端');
echo $client->recv();